#  Show everyone enabled for Activesync

Get-QADUser -sizelimit 0 -ldapFilter "(&(objectCategory=person)(objectClass=user)(homeMDB=*)(!(msExchOmaAdminWirelessEnable:1.2.840.113556.1.4.803:=2)))" -IncludedProperties msExchOmaAdminWirelessEnable,UserAccountControl | `
 Select-Object Firstname,Lastname,LogonName,Email,DisplayName,AccountIsDisabled,AccountIsLockedout,SamAccountName,WhenCreated,WhenChanged,UserAccountControl,Description,Notes,msExchOmaAdminWirelessEnable # | `
 #Export-Csv -NoTypeInformation UsersActiveSyncEnabled.csv
